﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Model.QueryModel.system
{
    /// <summary>
    /// 用户查询条件实体
    /// </summary>
    public class QueryUser
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        //public string? UserId { get; set; }

        /// <summary>
        /// 用户名（支持模糊查询）
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 用户角色 (U:用户/A:管理员/S:超级管理员)
        /// </summary>
        public string? UserRole { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string? DeptCode { get; set; }

        /// <summary>
        /// 状态 (A:激活/I:失效)
        /// </summary>
        public string? Status { get; set; }

        ///// <summary>
        ///// 联系电话（支持模糊查询）
        ///// </summary>
        //public string? UserPhoneNo { get; set; }

        ///// <summary>
        ///// 电子邮箱（支持模糊查询）
        ///// </summary>
        //public string? UserEmail { get; set; }

        ///// <summary>
        ///// 直属上级ID
        ///// </summary>
        //public string? ReportingTo { get; set; }

        ///// <summary>
        ///// 创建时间范围 - 开始
        ///// </summary>
        //public DateTime? CreatedAtStart { get; set; }

        ///// <summary>
        ///// 创建时间范围 - 结束
        ///// </summary>
        //public DateTime? CreatedAtEnd { get; set; }

        ///// <summary>
        ///// 最后登录时间
        ///// </summary>

        //public DateTime? LastLoginDate { get; set; }
        ///// <summary>
        ///// 最后登录时间范围 - 开始
        ///// </summary>
        //public DateTime? LastLoginStart { get; set; }

        ///// <summary>
        ///// 最后登录时间范围 - 结束
        ///// </summary>
        //public DateTime? LastLoginEnd { get; set; }

        ///// <summary>
        ///// 密码状态 (Y:需修改/N:正常)
        ///// </summary>
        //public string? PwdStatus { get; set; }

        ///// <summary>
        ///// 排序字段
        ///// </summary>
        //public string? SortField { get; set; } = "CreatedAt";

        ///// <summary>
        ///// 排序方向 (asc/desc)
        ///// </summary>
        //public string? SortDirection { get; set; } = "desc";
    }
}
